<#assign tit><#if _oper='add'>新增<#else>修改</#if>用户权限组</#assign>
<@page.html title=tit>
<div style="width:450px;">
  <!--dl class="title"><dt class="${_oper}">${tit}</dt></dl-->

  <form id="fm_input" method="post" action="<#if _oper='add'>_add<#else>_edit</#if>" onsubmit="return post(this);">
    <div class="kbox">
      <table class="input">
        <tr>
          <th width="25%">编号</th>
          <td width="75%"><#if _oper='add'><input type="text" name="groupCode" value="${group.groupCode!}" req="编号" size="16" maxlength="20"><span class="require">*</span><#else>${group.groupCode!}<input type="hidden" name="groupCode" value="${group.groupCode!}"></#if></td>
        </tr>
        <tr>
          <th>中文名</th>
          <td><input type="text" name="chName" value="${group.chName!}" req="中文名" size="28" maxlength="50"><span class="require">*</span></td>
        </tr>
        <tr>
          <th>英文名</th>
          <td><input type="text" name="enName" value="${group.enName!}" size="28" maxlength="50"></td>
        </tr>
        <tr>
          <th>安全级别</th>
          <td><select name="secuityLevel"><#if secuityLevel??><#list secuityLevel as t><option value="${t.id}"<#if group.secuityLevel?? && group.secuityLevel=t.id> selected</#if>>${t.name}</option></#list></#if></select></td>
        </tr>
        <tr>
          <th>允许IP</th>
          <td><input type="text" name="allowIp" value="${group.allowIp!}"></td>
        </tr>
        <tr>
          <th>状态</th>
          <td><input type="radio" name="status" id="enable_1" value="1"<#if group.status=1> checked</#if>><label for="enable_1">正常</label>
            <input type="radio" name="status" id="enable_2" value="2"<#if group.status!=1> checked</#if>><label for="enable_2">禁用</label></td>
        </tr>
      </table>
    </div>
    <div class="button"><input type="submit" value="提 交"></div>
  </form>
</div>
</@page.html>